import {
    queryOne
} from "../db/ADB"

const login = (formData)=>{
    let sql = 'select * from Sym_user where user_id = ? and password=?'
    return queryOne(sql,[formData.username,formData.password])
}

export {
    login
}